<?php
/**
 * User: Administrator
 * Time: 14-4-11 上午10:36
 */

class news extends CI_Controller {

		public function index($page = 'home' ){
			if(!file_exists('APP/views/news/'.$page.'.php')){
				show_404();
			}
			$data['title'] = ucfirst($page);
			$this->load->view('news/'.$page,$data);
		}
}